package com.cqd.service;

import com.cqd.entity.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface UserService extends JpaRepository<User,Long> {
    Page<User> selectData(Date data, Pageable pageable);
    List<User> findByNameLike(String name);
}
